package org.javaapps.demo.common;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {
	public static final String Y_M_D = "yyyy-MM-dd";
	
	public static String dateFormat(Date date, String format){
		return new SimpleDateFormat(format).format(date);
	}
}
